//
//  DeviceUtil.swift
//  HFUTER
//
//  Created by HD on 15/1/22.
//  Copyright (c) 2015年 HD. All rights reserved.
//

import UIKit

class DeviceUtil {
    
    class func version() -> Float {
        return (UIDevice.currentDevice().systemVersion as NSString).floatValue
    }
    
    class func uuid() -> String {
        let puuid = CFUUIDCreate(nil)
        let puuidString = CFUUIDCreateString(nil, puuid)
        let uuid = CFStringCreateCopy(nil, puuidString)
        return uuid as! String
    }
}